#ifndef BIBLE_WIDGET_H
#define BIBLE_WIDGET_H
/*
 * 
 *  projector
 *
 *  Created by Ilya Spivakov on 10/29/05.
 *  Copyright 2005 __MyCompanyName__. All rights reserved.
 *
 */

#include <QFont>
#include <QPushButton>
#include <QTabWidget>
#include <QGridLayout>
#include <QListWidget>
#include <QTextCodec>
#include <QLabel>
#include <QObject>
#include <QSpinBox>






class BibleWidget : public QWidget
{
	Q_OBJECT
	
public:
	BibleWidget(QWidget *parent = 0);
	QGridLayout *bible_grid;
	QGridLayout *main_grid;
	QListWidget *book_list_view;
	QTextCodec *codec;
	QLabel *debug_label;
	QSpinBox *chapter_selector;
	QSpinBox *verse_selector;
	QPushButton *show_hide_button;
	QPushButton *sync_button;
	int verse,chapter,book;
	QStringList verseList;
	QString filename;
	QLabel *verse_preview;
	QLabel *verse_preview_prev;
	QLabel *verse_preview_next;
	bool sync;
	
	
public slots:
	void change_book(int value);
	void change_verse(int value);
	void change_chapter(int value);
	void update_verse();
	void show_hide(bool show);
	void sync_verse(bool val);

signals:
	
	void show_verse(QString body, QString caption);
	
};



#endif
